package com.marry.Interceptor.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author ml
 * @create 2017-06-20--14:02
 */
@Controller
@RequestMapping(value = "/user")
public class IndexController {

    @RequestMapping(value = "/login_view",method = RequestMethod.GET)
    public String loginview(){
        return "login";
    }



    @RequestMapping(value = "index" , method = RequestMethod.GET)
    public String index(){
        return "index";
    }
}
